#include "anyevent.h"
namespace apollo
{
	namespace core
	{
		AnyEvent::AnyEvent(const char* data, qint32 size)
			: QEvent(QEvent::User),  size(size)
		{
			this->data = new char[size];
			memcpy(this->data, data, size);
		}

		AnyEvent::~AnyEvent()
		{
			delete data;
		}
	}
}